package main

import (
	"find/model"
)

func main() {
	go model.Udpserver()      //UDP服务端
	go model.Udpclient()      //udp客户端
	go model.ClientOverTime() //清空失效设备
	go model.ClientCache()    //定时缓存设备信息
	if model.IstestOpen == 1 {
		go model.OpenPort()
	}
	go model.ClientFailNumLog() //定时记录失败的设备
	go model.CleanOffLine()     //定时清理失败的设备记录
	model.HttpServer()          //http网页服务端
}
